/*package com.example.demo.es;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
*//**
 * /**
 * @author JE哥
 * @email 1272434821@qq.com
 * @description:elasticsearch模型类
 *
 *
 *//*
@Document(indexName = "user", type = "user", shards = 1, replicas = 0, refreshInterval = "-1")
public class User {

	@Id
	private String id;
	private String name;
	private int age;

	public User() {
		
	}

	public User(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}
*/